package com.kx.yooli.kx.wechat.constant;

public enum ErrorCodeMsg {
    TOKEN_NOT_EXIST(401, "token不存在"),
    NETWORK_EXCEPTION(402, "网络异常"),
    NETWORK_EXCEPTION_IMG(405, "图形验证获取失败"),
    TOKEN_EXCEPTION(403, "token异常"),
    USER_NOT_EXIST_EXCEPTION(406, "用户信息不存在"),
    SUCCESS_NET_EXCEPTION(200, "成功"),
    SUCCESS_USER_CERTIFIED_EXCEPTION(201, "用户未认证");
    private final int code;

    private final String desc;

    ErrorCodeMsg(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
